Dreitier\Nadi\Vendor\Twig\Extension\SandboxExtension S

Total Complexity 23
Dependencies 6
Dependents 3
Total lines 103
Lines of code 67
Logical lines of code 34
Comment lines 0
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
ensureToStringAllowed()
S
61 5 12
checkMethodAllowed()
S
63 3 11
checkPropertyAllowed()
S
63 3 11
isSandboxed()
S
80 2 3
checkSecurity()
S
73 2 5
__construct()
S
77 1 4
getTokenParsers()
S
80 1 3
getNodeVisitors()
S
80 1 3
enableSandbox()
S
81 1 3
disableSandbox()
S
81 1 3
isSandboxedGlobally()
S
82 1 3
setSecurityPolicy()
S
81 1 3
getSecurityPolicy()
S
82 1 3